package dev.loong.boot3.service;

import dev.loong.boot3.pojo.User;

import java.util.List;

public interface UserService {
    User getUser(Long id);
    User insertUser(User user);
    int deleteUser(Long id);
    List<User> findUsers(String userName, String note);
    User updateUserName(Long id, String userName);
    int insert(User user);
    User getUserByName(String userName);
}
